package com.fita.wechat.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.fita.entity.data.ModelGroup;

/**
 * 
 * @author cuteHU
 *
 */
@Dao("hibernate")
public interface ModelGroupDao {

    /**
     * 
     * @param englishName
     * @return
     */
    @Query("FROM ModelGroup WHERE disabled = false AND englishName = :englishName")
    public ModelGroup load(@Variable("englishName") String englishName);

}
